<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
<title>Default Handlers</title>
<link rel="stylesheet" href="doc.css" type="text/css" />
</head>
<body>
<div class="document">
<div class="navigation navigation-header container">
<span class="previous">Previous: <a class="reference" href="built_in_python_interpreter.html" title="Built-in Python Interpreter">Built-in Python Interpreter</a></span><span class="next">Next: <a class="reference" href="collision.html" title="Collision">Collision</a></span><span class="breadcrumbs"><a class="reference" href="index.html" title="Programming Guide">Programming Guide</a> » Default Handlers</span></div>
<h1 class="title">Default Handlers</h1>

<p>cocos2d provides default handlers for some actions.</p>
<p>In Windows and Linux, the shortcuts are
CTRL + key, but in Mac, the shortcut is
COMMAND + key.</p>
<blockquote>
<ul>
<li><p class="first">CTRL + f</p>
<blockquote>
<p>Toggles fullscreen mode</p>
</blockquote>
</li>
<li><p class="first">CTRL + s</p>
<blockquote>
<p>Takes a screenshot of the current window.</p>
<p>A file named 'screenshot-xxxxx' will be saved in the current
working directory.</p>
</blockquote>
</li>
<li><p class="first">CTRL + p</p>
<blockquote>
<p>Toggles Pause</p>
</blockquote>
</li>
<li><p class="first">CTRL + w</p>
<blockquote>
<p>Toggles wire-frame mode</p>
</blockquote>
</li>
<li><p class="first">CTRL + x</p>
<blockquote>
<p>Toggles FPS display</p>
</blockquote>
</li>
<li><p class="first">CTRL + i</p>
<blockquote>
<p>Toggles the built-in python interpreter</p>
</blockquote>
</li>
</ul>
</blockquote>
<div class="navigation navigation-footer container">
<span class="previous">Previous: <a class="reference" href="built_in_python_interpreter.html" title="Built-in Python Interpreter">Built-in Python Interpreter</a></span><span class="next">Next: <a class="reference" href="collision.html" title="Collision">Collision</a></span><span class="breadcrumbs"><a class="reference" href="index.html" title="Programming Guide">Programming Guide</a> » Default Handlers</span></div>
</div>
</body>
</html>
